package cn.tedu.front.job.dao.persist.mapper;

import cn.tedu.front.job.pojo.entity.Position;
import cn.tedu.front.job.pojo.vo.*;
import cn.tedu.zhaopin.protocol.position.vo.PositionSimpleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PositionMapper extends BaseMapper<Position> {
    PositionDetailVO selectDetailById(Long id);


    List<PositionSimpleVO> list(Long userId);


    RecruiterStanderVO getRecruiter(Long userId);


    JobCategoryByIdVO getCategoryById(Long jobTypeId);


    List<PositionSimpleVO> listSearch();

    int insertPosition(Position position);
}
